export default [
  {
    'name': 'list',
    'method': 'GET',
    'desc': '顾客列表',
    'path': '/api/v1/customer',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'gridElectricityPage',
    'method': 'GET',
    'desc': '顾客列表',
    'path': '/api/v1/customer/gridElectricityPage',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'add',
    'method': 'POST',
    'desc': '添加顾客',
    'path': '/api/v1/customer',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'details',
    'method': 'GET',
    'desc': '顾客详情',
    'path': '/api/v1/customer/{id}',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'modify',
    'method': 'PUT',
    'desc': '修改顾客',
    'path': '/api/v1/customer',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'findAllByCustomerId',
    'method': 'GET',
    'desc': '根据顾客ID查询咨询详情',
    'path': '/api/v1/advisory/record/findAllByCustomerId/{id}',
    'server': 'ADVISORY_SERVER',
  },
  {
    'name': 'orderDetails',
    'method': 'GET',
    'desc': '根据顾客ID查询订单详情',
    'path': '/api/v1/base/advisory/order/findAllByCustomerId/{id}',
    'server': 'BASE_SERVER',
  },
  {
    'name': 'findByCustomerId',
    'method': 'GET',
    'desc': '根据顾客ID查询项目记录',
    'path': '/api/v1/base/advisory/order/findByCustomerId/{id}',
    'server': 'BASE_SERVER',
  },
  {
    'name': 'recharge', // 充值
    'method': 'POST',
    'desc': '顾客充值',
    'path': '/api/v1/base/advisory/order/recharge',
    'server': 'BASE_SERVER',
  },
  {
    'name': 'getAllSource',
    'method': 'GET',
    'desc': '根据类型选择所有的渠道',
    'path': '/api/v1/customer/customer/source/getAllSource',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'getAllDeveloper',
    'method': 'GET',
    'desc': '获取所有的开发人员',
    'path': '/api/v1/base/promotion/getAllDeveloper',
    'server': 'BASE_SERVER',
  },
  {
    'name': 'refundBalance',
    'method': 'POST',
    'desc': '退余额',
    'path': '/api/v1/base/customer/account/refundBalance',
    'server': 'BASE_SERVER',
  },
  {
    'name': 'orderListDetails',
    'method': 'GET',
    'desc': '消费记录',
    'path': '/api/v1/base/advisory/order/customerIdAllByOrderList/{customerId}',
    'server': 'BASE_SERVER',
  },
  {
    'name': 'returnVisitDetails',
    'method': 'GET',
    'desc': '回访记录',
    'path': '/api/v1/base/return_visit/findByCustomerId/{customerId}',
    'server': 'BASE_SERVER',
  },
  {
    'name': 'findAdvisoryDemand',
    'method': 'GET',
    'desc': '查询顾客的全部意向项目',
    'path': '/api/v1/advisory/record/findAdvisoryDemand',
    'server': 'ADVISORY_SERVER',
  },
];
